package com.jzlin.funhub.admin.model.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 回答问题.
 *
 * @author linjz
 * @since 2025/7/9
 */
@Data
@ApiModel
public class QuestionAnswerPublishReq {
    @NotNull(message = "问题id不能为空")
    @ApiModelProperty("问题id")
    private Long questionId;

    @ApiModelProperty("回答详情")
    @NotBlank(message = "回答详情不能为空")
    private String content;
}
